import request from "@/utils/request";
/* 登录接口*/
export const loginApi = (loginForm) => {
  return request({
    method: 'POST',
    url: '/park/login',
    data: loginForm
  })
}

/* 获取用户信息的接口 */
export const fetchUserInfoAPI = () => {
  return request({
    url: 'park/user/profile',
    method: 'GET'
  })
}
